package com.hsh.maoduo.pojo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * @TableName inbound
 */
@TableName(value = "inbound")
@Data
@Accessors(chain = true)
@NoArgsConstructor
public class Inbound implements Serializable {
    /**
     *
     */
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * 入库编号
     */
    private String no;
    /**
     *
     */
    private Integer goodsId;

    /**
     *
     */
    private Integer num;

    /**
     *
     */
    private Integer supplierId;

    /**
     * 入库成本：分
     */
    @TableField("price_cent")
    private Integer priceCent;
    /**
     *
     */
    private String note;

    /**
     *
     */
    private Date createTime;

    /**
     *
     */
    private Integer isDelete = 0;

}